import 'package:flutter/material.dart';

class ColumWidget extends StatelessWidget {
  const ColumWidget({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Colors.amber,
        title: const Text("Column组件演示"),
      ),
      body: Center(
        child: Container(
          width: 300,
          height: 400,
          color: Colors.cyan,
          child: Column(
            // mainAxisAlignment: MainAxisAlignment.center,
            // mainAxisAlignment: MainAxisAlignment.spaceAround,
            // mainAxisAlignment: MainAxisAlignment.spaceEvenly,
            mainAxisAlignment: MainAxisAlignment.spaceBetween,
            // crossAxisAlignment: CrossAxisAlignment.center,
            // crossAxisAlignment: CrossAxisAlignment.start,
            crossAxisAlignment: CrossAxisAlignment.end,
            children: [
              Image.network(
                'https://yanxuan-item.nosdn.127.net/72e734dd1a4d35ce650afebdaa600b57.png',
                width: 100,
              ),
              const Text("美妆效果嘎嘎不卡粉未面刷"),
              const Text("\$100元"),
            ],
          ),
        ),
      ),
    );
  }
}
